﻿@{
    Layout = null;
}
<!DOCTYPE html>
<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
    <meta http-equiv="Pragma" content="no-cache" />
    <meta http-equiv="Expires" content="0" />
    <meta http-equiv="Cache" content="no-cache" />
    <title>院前急救 - 急救信息</title>
    <link rel="stylesheet" href="~/Scripts/ligerUI/skins/Aqua/css/ligerui-all.css" />
    <link rel="stylesheet" href="~/Scripts/ligerUI/skins/ligerui-icons.css" />
    <link rel="stylesheet" href="~/Scripts/ligerUI/skins/Gray/css/all.css" />
    <link rel="stylesheet" href="~/Content/css/common.css" />
    <script src="~/Scripts/jquery-1.10.2.min.js"  ></script>
    <script src="~/Scripts/ligerUI/js/ligerui.all.js"></script>
    <script src="~/Scripts/common.js?v=@DateTime.Now.ToString("yyyyMMdd")"></script>
    <script src="~/Areas/ChestPainCenter/Scripts/FirstAid.js?v=@DateTime.Now.ToString("yyyyMMddHHmm")"></script>
    <style  >
        h3{margin:0 30px 10px 0;padding:35px 0 8px;border-bottom:solid 1px #888;color:#000;font-size:14px;}
td{padding:5px;}
.tab-contain{overflow:hidden;width:100%;}
#tabs{overflow:hidden;margin:0;padding:0;width:100%;list-style:none;}
#tabs li{float:left;margin:0;padding:5px;padding-bottom:0;}
li a{position:relative;float:left;padding:5px 30px;border:1px solid #F1F1F1;border-radius:2px 2px 0 0;background:#fff;color:#444;text-decoration:none;}
.current a{z-index:4;outline:0;background:#F1F1F1;}
.hoverItem a{background:#fff;}
#content{position:relative;padding:0;border-top:1px solid #F1F1F1;border-radius:0 5px 5px 5px;background:#fff;}
.item{display:none;background-color:#FFF}
.show{display:block;}
.patient{margin-bottom:5px;padding:5px 5px;border:1px solid #eee;text-align:center;line-height:25px;cursor:pointer;}
.patientCurrent{background:#F1F1F1;}
table.gridtable{border-collapse:collapse;border-color:#666;border-width:1px;}
table.gridtable th{padding:8px 0 8px 0;width:180px;border-color:#c1bebe;border-style:solid;border-width:1px;background-color:#fbf8f8;text-align:center;}
table.gridtable td{width:180px;height:30px;border-color:#c1bebe;border-style:solid;border-width:1px;background-color:#fff;text-align:center;line-height:30px;}
#div_tbPatientList{position:relative;overflow-y:auto;height:600px;scrollBar-face-color:#d1d1d4;scrollbar-highlight-color:#f0f0f0;scrollBar-3dLight-color:#f0f0f0;scrollBar-darkshadow-color:#f0f0f0;scrollBar-shadow-color:#f0f0f0;scrollBar-arrow-color:#f0f0f0;scrollBar-track-color:#f0f0f0;scrollBar-base-color:#f0f0f0;}
.test-1::-webkit-scrollbar{width:5px;height:1px;}
.test-1::-webkit-scrollbar-thumb{border-radius:10px;background:#d1d1d4;-webkit-box-shadow:inset 0 0 5px rgba(0,0,0,.2);}
.test-1::-webkit-scrollbar-track{border-radius:10px;background:#f0f0f0;-webkit-box-shadow:inset 0 0 5px rgba(0,0,0,.2);}
.btn-Start-pass{width:150px;height:26px;border-radius:5px;background:url(/Content/images/btn_small_pass.png) no-repeat scroll 4px 4px;background-color:#87ceeb;line-height:26px;cursor:not-allowed;}
.btn-Start-rollback{width:150px;height:26px;border-radius:5px;background:url(/Content/images/btn_small_back.png) no-repeat scroll 4px 4px;background-color:#87ceeb;line-height:26px;cursor:pointer;}
.btn-Start-rollback span{float:right;margin-right:20px;color:#FFF;font-size:16px;font-family:'Microsoft YaHei';}
.btn-Start-pass span{float:right;margin-right:20px;color:#FFF;font-size:16px;font-family:'Microsoft YaHei';}
.divInfoTop{margin-top:44px;height:44px;}
.topTabDiv{background-color:#FFF;}
.div-greenchannel-pannel{margin-right:20px;margin-left:90px;display:none;}
.div-autofresh-pannel{margin-right:20px;line-height:23px;margin-left:25px;}
.divLeftList{top:98px;width:240px;height:auto;background-color:#fff;}
.divLeftListDiv2{margin:10px;text-align:center;}
.divCurrSum{border:1px solid #eee;border-radius:5px;background:#87ceeb;color:#fff;line-height:25px;}
.div-first-line{float:left;height:35px;line-height:35px;}
.div-unfirst-line{float:left;margin-left:35px;height:35px;line-height:35px;}
.img-xdt-cls{width:100px;height:100px;border:1px solid #c1bebe;}
.radio_label{display:inline-block;width:auto;height:22px;background:url(/Content/images/radiobutton.png) no-repeat;background-position:-13px -16px;text-indent:22px;line-height:22px;}
.radio_label:hover{background-position:-13px -116px;}
.checkbox_label{display:inline-block;width:auto;height:22px;background:url(/Content/images/checkboxbutton.png) no-repeat;background-position:-13px -16px;text-indent:22px;line-height:22px;}
.checkbox_label:hover{background-position:-13px -116px;}
.checked{background-position:-13px -216px;}
.checked:hover{background-position:-13px -216px;}
input[type=radio]{width:0;}
input[type=checkbox]{width:0;}
    </style>
</head>
<body>
    <div class="tab-contain">
        <div id="topTabDiv" class="topPosition topTabDiv" >
            <ul id="tabs">
                <li class="current"><a style="cursor:pointer;" title="tab1">急救信息</a></li>
                <li><a style="cursor:pointer;" title="tab2">历史记录</a></li>
            </ul>
        </div>
        <div id="content">
            <div id="tab1" class="item show">
                <div class="searchbar topPosition divInfoTop" id="divInfoTop">
                    <div class="sbligerButton div-greenchannel-pannel">
                        <div title="绿色通道申请" id="btnStart" class="btn-Start-rollback"><span>启动绿色通道</span></div>
                    </div>
                    <div class="sbligerControl div-autofresh-pannel">
                        <label><input type="checkbox" id="cbxAutoFresh" class="l-checkbox" />自动刷新15秒</label>
                    </div>
                    <div class="sbligerButton">
                        <input id="btnFresh" type="button" value="刷新" class="l-button" />
                        <input id="txtId" type="hidden" value="" />
                    </div>
                </div>
                <div id="divLeftList" class="topPosition divLeftList" >
                    <div position="left">
                        <div class="divLeftListDiv2">
                            <table style="width:100%;">
                                <thead>
                                    <tr>
                                        <td class="divCurrSum">
                                            当前急救总人数：<span id="spanPatientCount">0</span>人
                                        </td>
                                    </tr>
                                </thead>
                            </table>
                            <div id="div_tbPatientList" class="test-1">
                                <table id="tbPatientList" style="width:100%;"></table>
                            </div>
                        </div>
                    </div>
                </div>
                <div position="center" id="divInfo">
                    <div style="margin:96px 0px 10px 0px;">
                        <table cellpadding="0" cellspacing="0" class="l-table-edit" style="margin-left:240px;">
                            <tbody>
                                <tr>
                                    <td style="text-align: center;" colspan="5">
                                        急救流水号： <span id="spanEmsSerialNum"></span>
                                    </td>
                                </tr>
                                <tr>
                                    <td style="text-align: left;" colspan="5">
                                        <h3>基本信息：</h3>
                                    </td>
                                </tr>
                                <tr>
                                    <td style="text-align: right">病人条码：</td>
                                    <td colspan="4">
                                        <span id="labWristbandnum">未绑定</span>
                                    </td>
                                </tr>
                                <tr>
                                    <td style="text-align: right">
                                        姓名：
                                    </td>
                                    <td colspan="4">
                                        <input type="text" id="txtPatientName" class="l-text">
                                    </td>
                                </tr>
                                <tr>
                                    <td style="text-align: right">
                                        性别：
                                    </td>
                                    <td colspan="4">
                                        <select id="ddlPatientSex">
                                            <option>男</option>
                                            <option>女</option>
                                        </select>
                                    </td>
                                </tr>
                                <tr>
                                    <td style="text-align: right">
                                        年龄：
                                    </td>
                                    <td colspan="4">
                                        <input type="text" id="txtPatientAge" class="l-text" maxlength="3" typeof="number">
                                    </td>
                                </tr>
                                <tr>
                                    <td style="text-align: right">
                                        联系方式：
                                    </td>
                                    <td colspan="4">
                                        <input type="text" id="txtPatientPhone" class="l-text" typeof="number">
                                    </td>
                                </tr>
                                <tr>
                                    <td style="text-align: right">
                                        身份证号：
                                    </td>
                                    <td colspan="4">
                                        <input type="text" id="txtPatientIdNum" class="l-text" style="width:168px;">
                                    </td>
                                </tr>
                                <tr>
                                    <td style="text-align: right">
                                        家庭住址：
                                    </td>
                                    <td colspan="3">
                                        <input type="text" id="txtPatientAddr" class="l-text" style="width:100%" />
                                    </td>
                                </tr>
                                <tr>
                                    <td style="text-align: right">
                                        救护车车号：
                                    </td>
                                    <td colspan="4">
                                        <input type="text" id="txtAmbulanceNum" class="l-text">
                                    </td>
                                </tr>
                                <tr>
                                    <td style="text-align: right">
                                        出车护士：
                                    </td>
                                    <td colspan="4">
                                        <input type="text" id="txtEmsNurseName1" class="l-text" style="width:62px;" />
                                        <input type="text" id="txtEmsNurseName2" class="l-text" style="width:62px;" />
                                    </td>
                                </tr>
                                <tr>
                                    <td style="text-align: right">
                                        出车医生：
                                    </td>
                                    <td colspan="4">
                                        <input type="text" id="txtEmsDocName1" class="l-text" style="width:62px;" />
                                        <input type="text" id="txtEmsDocName2" class="l-text" style="width:62px;" />
                                    </td>
                                </tr>
                                <tr>
                                    <td style="text-align: right">
                                        呼车原因：
                                    </td>
                                    <td colspan="3">
                                        <input type="text" id="txtEmsReason" class="l-text" style="width:100%" />
                                    </td>
                                </tr>
                                <tr>
                                    <td style="text-align: right">
                                        发病地址：
                                    </td>
                                    <td colspan="3">
                                        <input type="text" id="txtEmsDiseaseAddr" class="l-text" style="width:100%" />
                                    </td>
                                </tr>
                                <tr>
                                    <td style="text-align: right">
                                        发病时间：
                                    </td>
                                    <td colspan="3">
                                        <input type="text" id="txtEmsDiseaseTime" class="l-text" />
                                    </td>
                                </tr>
                                <tr>
                                    <td style="text-align: left;" colspan="5">
                                        <h3>患者生命体征：</h3>
                                    </td>
                                </tr>
                                <tr>
                                    <td style="text-align: right;">意识：</td>
                                    <td colspan="4">
                                        <div class="div-first-line">
                                            <label for="chkPatientConsciousness1">
                                                <input type="checkbox" id="chkPatientConsciousness1" name="chkPatientConsciousness" value="1" />&nbsp;清醒
                                            </label>
                                            <label for="chkPatientConsciousness2">
                                                <input type="checkbox" id="chkPatientConsciousness2" name="chkPatientConsciousness" value="2" />&nbsp;对语言有反应
                                            </label>
                                            <label for="chkPatientConsciousness3">
                                                <input type="checkbox" id="chkPatientConsciousness3" name="chkPatientConsciousness" value="3" />&nbsp;对刺痛有反应
                                            </label>
                                            <label for="chkPatientConsciousness4">
                                                <input type="checkbox" id="chkPatientConsciousness4" name="chkPatientConsciousness" value="4" />&nbsp;对任何刺激无反应
                                            </label>
                                        </div>
                                    </td>
                                </tr>
                                <tr>
                                    <td style="text-align: right;">呼吸：</td>
                                    <td colspan="4">
                                        <div class="div-first-line">
                                            <input type="text" id="txtPatientBreathe" class="l-text" style="width:40px;" />次/分
                                        </div>
                                        <div class="div-unfirst-line">
                                            脉搏：<input type="text" id="txtPatientPulse" class="l-text" style="width:40px;" />次/分
                                        </div>
                                        <div class="div-unfirst-line">
                                            心率：<input type="text" id="txtPATIENT_HEART" class="l-text" style="width:40px;" />次/分
                                        </div>
                                        <div class="div-unfirst-line">
                                            血压：<input type="text" id="txtPatientBloodL" class="l-text" style="width:40px;" /> / <input type="text" id="txtPatientBloodH" class="l-text" style="width:40px;" />mmHg
                                        </div>
                                    </td>
                                </tr>
                                <tr>
                                    <td style="text-align: right">
                                        院前心电图：
                                    </td>
                                    <td colspan="4">
                                        <span id="nopic" style="display:none">无</span>
                                        <input id="btnPreEcgAddr" class="l-button pimg" style="background: skyblue; height: 30px; color: white; border-radius: 5px;" type="button" value="查看大图" />
                                    </td>
                                </tr>
                                <tr>
                                    <td>&nbsp;</td>
                                    <td colspan="4">                                       
                                        <img class="img-xdt-cls" id="simg" src="" border="0" onload="checkImgPRE_ECG_ADDR(true)" onerror="checkImgPRE_ECG_ADDR(false)" style="border:0px;display:none;" />
                                    </td>
                                </tr>
                                <tr>
                                    <td align="right" class="l-table-edit-td">
                                        GRACE评分：
                                    </td>
                                    <td colspan="4">
                                        <span id="spnGRACE_SCORCE"> </span>
                                    </td>
                                </tr>
                                <tr>
                                    <td align="right" class="l-table-edit-td">
                                        危险层级：
                                    </td>
                                    <td colspan="4">
                                        <span id="spnGRACE_DANGER"></span>
                                    </td>
                                </tr>
                                <tr>
                                    <td style="text-align: left;" colspan="5">
                                        <h3>时间点记录：</h3>
                                    </td>
                                </tr>
                                <tr>
                                    <td colspan="5">
                                        <table class="gridtable">
                                            <tr>
                                                <th>时间节点</th>
                                                <th>时间</th>
                                                <th>记录人</th>
                                            </tr>
                                            <tr>
                                                <td>派车时间</td>
                                                <td><span id="spanEmsMessageTime"></span></td>
                                                <td id="tdNURSE_NAME1"></td>
                                            </tr>
                                            <tr>
                                                <td>出车时间</td>
                                                <td><span id="spanEmsLeaveTime"></span></td>
                                                <td id="tdNURSE_NAME2"></td>
                                            </tr>
                                            <tr>
                                                <td>到达现场时间</td>
                                                <td><span id="spanEmsArriveTime"></span></td>
                                                <td id="tdNURSE_NAME3"></td>
                                            </tr>
                                            <tr>
                                                <td>急救车返回时间</td>
                                                <td><span id="spanEmsBacktoTime"></span></td>
                                                <td id="tdNURSE_NAME4"></td>
                                            </tr>
                                            <tr>
                                                <td>院前心电图时间</td>
                                                <td><span id="spanPreEcgTime"></span></td>
                                                <td id="tdNURSE_NAME5"></td>
                                            </tr>
                                            <tr>
                                                <td>到达医院时间</td>
                                                <td><span id="spanEmsArrivedoorTime"></span></td>
                                                <td id="tdNURSE_NAME6"></td>
                                            </tr>
                                        </table>
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                    </div>
                </div>
            </div>
            <div id="tab2" class="item">
            </div>
        </div>
    </div>    
</body>
</html>
